package eleven;

public class Test  {
    public static void main(String[] args) {
        Auto auto = new Auto(4,"黑色",2,90);
        auto.stop();
        auto.SpeedUp();
        auto.SpeedDown();

        System.out.println("");
        Car car = new Car();
        car.tyre = 4;
        car.color = "银色";
        car.weight = 2;
        car.speed = 60;
        car.stop();
        car.SpeedUp();
        car.SpeedDown();
    }
}

